<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
    <title>资金总览-用户中心</title>
    {run $pageName='fund'}
    {include member.inc.csslink}
</head>
<body>
{include member.inc.header}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/member/fund/index">资金管理</a> > 资金总览 </div>
    {include member.inc.leftNav}
    <div class="main fund">
        <section>
            <h1 class="header">资金总览</h1>
            <div class="summary clearfix">
               <dl class="dl1">
                   <dt>消费总额(元)</dt>
                   <dd class="money">{$total_cost}</dd>
               </dl>
                <dl class="dl2">
                    <dt>可用资金(元)</dt>
                    <dd class="money" id="js_useable" data-val="{$usable}">{$usable}</dd>
                    <dd>
                        <a href="javascript:;" class="btn-default btn-sm" data-act="moneyIn">入金</a>
                        <a href="javascript:;" class="btn-default btn-sm" data-act="moneyOut">出金</a>
                    </dd>
                </dl>
                <dl class="dl3">
                    <dt>附属账户余额(元)</dt>
                    <dd class="money">{$balance}</dd>
                    <dd>
                        <span id="chargeWrap" data-class="btn-default btn-sm"></span>
                        <a href="javascript:;" class="btn-default btn-sm" data-act="withdraw">提现</a>
                    </dd>
                </dl>
            </div>
        </section>
        <section class="panel">
            <div class="header2">
                <a href="/member/fund/log" class="link2 fr">全部记录 > </a>
                <h1>资金流水</h1>
            </div>
            {include member.fund.fund_log_page}
        </section>
    </div>
</main>
{include member.inc.footer}
{include member.inc.script}

<script>
   seajs.use('fund',function(fund){
       fund.initIndex();
   })
</script>
{include member.inc.foot_hook}
</body>
</html>
